class AddPositionsData < ActiveRecord::Migration
  def self.up
    Position.delete_all
    Position.create(:part => 'フロントバンパー', :rear => false, :side => false, :twosides => false, :material => '樹脂')
    Position.create(:part => 'フロントスポイラー', :rear => false, :side => false, :twosides => false, :material => '樹脂',
                   :spoiler_mini => false, :spoiler_standard => false, :spoiler_large => false)
    Position.create(:part => 'フロントエンドパネル', :rear => false, :side => false, :twosides => false,
                   :spoiler_mini => false, :spoiler_standard => false, :spoiler_large => false)
    Position.create(:part => 'ボンネット', :rear => false, :side => false, :twosides => false,:spoiler_mini => false, :spoiler_standard => false, :spoiler_large => false)
    Position.create(:part => 'フロントパネル', :rear => false, :side => false, :twosides => false, :t_rv => false, :t_wagon => false, :t_sedan => false,:dismantle => false,
                   :spoiler_mini => false, :spoiler_standard => false, :spoiler_large => false)  
    Position.create(:part => 'フェンダー', :rear => false, :side => false,:spoiler_mini => false, :spoiler_standard => false, :spoiler_large => false)
    Position.create(:part => 'フロントドア', :front => false, :rear => false,:spoiler_mini => false, :spoiler_standard => false, :spoiler_large => false)
    Position.create(:part => 'リアドア', :front => false, :rear => false,:spoiler_mini => false, :spoiler_standard => false, :spoiler_large => false)
    Position.create(:part => 'ロッカーパネル', :front => false, :rear => false, :dismantle => false)
    Position.create(:part => 'サイドスポイラー', :front => false, :rear => false, :material => '樹脂',:spoiler_mini => false, :spoiler_standard => false, :spoiler_large => false)
    Position.create(:part => 'プロテクションモール', :front => false, :rear => false, :material => '樹脂',
                   :spoiler_mini => false, :spoiler_standard => false, :spoiler_large => false)
    Position.create(:part => 'リアクォータ', :front => false, :side => false, :dismantle => false,
                   :spoiler_mini => false, :spoiler_standard => false, :spoiler_large => false) 
    Position.create(:part => 'エンドパネル', :front => false, :side => false,
                   :spoiler_mini => false, :spoiler_standard => false, :spoiler_large => false)
    Position.create(:part => 'バックパネル', :front => false, :side => false, :twosides => false,:dismantle => false,
                   :spoiler_mini => false, :spoiler_standard => false, :spoiler_large => false) 
    Position.create(:part => 'リアバンパー', :front => false, :side => false, :twosides => false, :material => '樹脂')
    Position.create(:part => 'リアバンパースポイラー', :front => false, :side => false, :twosides => false, :material => '樹脂',
                   :spoiler_mini => false, :spoiler_standard => false, :spoiler_large => false)
    Position.create(:part => 'バックドア', :front => false, :side => false, :twosides => false,:spoiler_standard => false, :spoiler_large => false)
    Position.create(:part => 'トランク', :front => false, :side => false, :twosides => false, :size_mini => false,:spoiler_mini => false)
    Position.create(:part => 'リアスポイラー', :front => false, :side => false, :twosides => false, :material => '樹脂',
                   :spoiler_mini => false, :spoiler_standard => false, :spoiler_large => false)
    Position.create(:part => 'ルーフ', :rear => false, :front => false, :twosides => false, :dismantle => false,:spoiler_standard => false, :spoiler_large => false)
  end
  
  def self.down
    Position.delete_all
  end
end
